import axios from 'axios';

export function searchWorkType (param) {
	return axios({
      method : 'get',
      url : '/alterandvisacategory/getList',
      headers: {
        'Cache-Control': 'no-cache'
      },
      params: param,
    //   data: param,
    })
}

export function addWorkType (param) {
	return axios({
      method : 'post',
      url : '/alterandvisacategory/add',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}

export function deleteWorkType (param) {
	return axios({
      method : 'post',
      url : '/alterandvisacategory/delete',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}

export function editWorkType (param) {
	return axios({
      method : 'post',
      url : '/alterandvisacategory/modify',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}
